import request from "../utils/request.js"

// request("/login","get",{userName:"ljy",password:"123456"})

// 登录
export function login(params){
	return request("/api/webapi/login","POST",params)
}

// 注册
export function registration(params){
	return request("/api/webapi/reguser","POST",params)
}
// 修改密码
export function updatedPassword(params){
	return request("/webapi/updatepwd","POST",params)
}
// 修改个人信息 
export function updateuser(params){
	return request("/webapi/updateUserinfo","POST",params)
}
// 用户提交申请
export function applyAdd(params){
	return request('/applyAdd','post',params)
}
export function applyStatue(id){
	return request(`/adminapi/ApplyByUserId/${id}`,'GET')
}
// 提交跑腿订单
export function orderAdd(params){
	return request('/orderAdd','post',params)
}